PlantWise Help

Infix Expression Syntax

The underlying software in PlantWise uses a prefix syntax; however, this syntax can be difficult to comprehend. Therefore, PlantWise uses an infix syntax in its user-enterable expressions.

The language is presented in a modified BNF using the following notational conventions:
  • Boldface type: is used for reserved words in commands.
  • Angle brackets < >: denote variables
  • Square brackets [ ]: indicate optional components.
  • Vertical bars |: separate alternate definitions.

Wherever they occur, commas (,) and parentheses () are part of the language.

Examples are shown in Courier font.